import request from '@/utils/request'

// 查询称重回传列表
export function listHisHandCmdWeight(query) {
  return request({
    url: '/system/HisHandCmdWeight/list',
    method: 'get',
    params: query
  })
}

// 查询称重回传详细
export function getHisHandCmdWeight(id) {
  return request({
    url: '/system/HisHandCmdWeight/' + id,
    method: 'get'
  })
}

// 新增称重回传
export function addHisHandCmdWeight(data) {
  return request({
    url: '/system/HisHandCmdWeight',
    method: 'post',
    data: data
  })
}

// 修改称重回传
export function updateHisHandCmdWeight(data) {
  return request({
    url: '/system/HisHandCmdWeight',
    method: 'put',
    data: data
  })
}

// 删除称重回传
export function delHisHandCmdWeight(id) {
  return request({
    url: '/system/HisHandCmdWeight/' + id,
    method: 'delete'
  })
}

// 导出称重回传
export function exportHisHandCmdWeight(query) {
  return request({
    url: '/system/HisHandCmdWeight/export',
    method: 'get',
    params: query
  })
}